package movEat.Definitions;

public enum Genre {
	ACTION,ADVENTURE,ADULT,ANIMATION,BIOGRAPHY,COMEDY,CRIME,DOCUMENTARY,DRAMA,
	FANTASY,FAMILY,FILM_NOIR,GAME_SHOW,HISTORY,HORROR,LIFESTYLE,MUSIC,MUSICAL,MYSTERY,NEWS,
	REALITY_TV,ROMANCE,SCI_FI,SHORT,SPORT,TALK_SHOW,THRILLER,WAR,WESTERN,OTHER;
	
	public static boolean contains(String string) {

	    for (Genre genre : Genre.values()) {
	        if (genre.name().equals(string)) {
	            return true;
	        }
	    }

	    return false;
	}
	
	
}
